package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author sunyamei
 * @version V1.0
 * @Project javase2203
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2022/8/12 16:09
 *
 * 启动类
 */
//开启config服务器
@EnableConfigServer
@EnableEurekaClient
@SpringBootApplication
@ServletComponentScan("com.qf.filter")
public class ConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class, args);
    }
}